calculation process